/**
 * 
 */
package com.googlecode.rotools.rotool;

import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;

/**
 * 
 */
public class MainFrame {

	private JFrame frmRo;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					MainFrame window = new MainFrame();
					window.frmRo.setVisible(true);
					
				} catch (Exception e) {
					e.printStackTrace();
					
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public MainFrame() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frmRo = new JFrame();
		frmRo.setTitle(Messages.getString("MainFrame.frmRo.text")); //$NON-NLS-1$
		frmRo.setBounds(100, 100, 640, 481);
		frmRo.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JMenuBar menuBar = new JMenuBar();
		frmRo.setJMenuBar(menuBar);
		
		JMenu mnFile = new JMenu(Messages.getString("MainFrame.mnFile.text")); //$NON-NLS-1$
		mnFile.setMnemonic('F');
		menuBar.add(mnFile);
		
		JMenuItem mntmExit = new JMenuItem(Messages.getString("MainFrame.mntmExit.text")); //$NON-NLS-1$
		mntmExit.setMnemonic('x');
		mnFile.add(mntmExit);
	}

}
